package bean;

public class BookService {
    private Book[] books;

    public BookService(Book[] books) {
        this.books = books;
    }

    public BookService() {
    }

    public Book[] getBooks(){
        return new Book[]{
                new Book("Java","aa"),
                new Book("Scala","bb"),
                new Book("Python","cc")
        };
    }
}
